package me.springboot.mybatis.dao;

import me.springboot.mybatis.core.Mapper;
import me.springboot.mybatis.model.Device;
import me.springboot.mybatis.web.req.DeviceReq;

import java.util.List;
import java.util.Map;

public interface DeviceMapper extends Mapper<Device> {
    List<Map<String, Object>> searchDevice(DeviceReq deviceReq);

    List<Map<String, Object>> searchXunJianDevice(DeviceReq deviceReq);

    List<Device> selectByModel(Device device);

    List<Device> selectModel(Device device);

    List<Map<String,Object>> getCount(Map<String, Object> paramMap);

    List<Map<String, Object>> paiDanList(DeviceReq deviceReq);

    List<Device> notFenPeiDeviceList(DeviceReq deviceReq);

    List<Device> lastRecord(Device device);
}